from selenium import webdriver
import time
from selenium.webdriver.common.by import By

d = webdriver.Chrome()
d.get("http://192.168.0.125:9009/wp-login.php")
myon_user = d.find_element(By.XPATH, '//input[@class="input"]')
myon_user.send_keys("admin")

myon_pwd = d.find_element(By.XPATH, '//input[@id="user_pass"]')
myon_pwd.send_keys("admin123")
button = d.find_element(By.XPATH, '//input[@id="wp-submit"]')
button_a = d.find_element(By.XPATH, '//input[@type="checkbox"]')
button_a.click()
button.click()
time.sleep(5)
